
/*  */
const MakeManage = () => import('../pages/make/index.vue') // 赚钱管理
const MakeManageBanner = () => import('../pages/make/component/banner_manage/index.vue') //  赚钱管理 -> banner管理 
const MakeManageBannerList = () => import('../pages/make/component/banner_manage/component/index.vue') //  赚钱管理 -> banner管理 -> 列表
const MakeManageBannerListDetails = () => import('../pages/make/component/banner_manage/component/details.vue') //  赚钱管理 -> banner管理 -> 列表 -> 详情

/*  */
const MakeManageTaskClassify = () => import('../pages/make/component/task_classify/index.vue') //  赚钱管理 -> 任务分类
const MakeManageTaskClassifyList = () => import('../pages/make/component/task_classify/component/index.vue') //  赚钱管理 -> 任务分类 -> 列表
const MakeManageTaskClassifyListSubclassification = () => import('../pages/make/component/task_classify/component/subclassification.vue') //  赚钱管理 -> 任务分类 -> 列表 -> 子分类

/*  */
const MakeManageCooperationType = () => import('../pages/make/component/cooperation_type/index.vue') //  赚钱管理 ->  合作类型
const MakeManageCooperationTypeStair = () => import('../pages/make/component/cooperation_type/component/index.vue') //  赚钱管理 ->  合作类型 -> 一级
const MakeManageCooperationTypeSubclassification = () => import('../pages/make/component/cooperation_type/component/subclassification.vue') //  赚钱管理 ->  合作类型 -> 二级

/*  */
const MakeManageTaskList = () => import('../pages/make/component/task_list/index.vue') //  赚钱管理 ->  任务列表
const MakeManageTaskListSurface = () => import('../pages/make/component/task_list/component/index.vue') //  赚钱管理 ->  任务列表 -> 列表
const MakeManageTaskListSurfaceDetails = () => import('../pages/make/component/task_list/component/details.vue') //  赚钱管理 ->  任务列表 -> 列表 -> 详情
const MakeManageTaskListSurfaceAdd = () => import('../pages/make/component/task_list/component/add.vue') //  赚钱管理 ->  任务列表 -> 列表 -> 线上线下任务

/*  */
const MakeManageTaskAudit = () => import('../pages/make/component/task_audit/index.vue') //  赚钱管理 ->  任务审核
const MakeManageTaskAuditList = () => import('../pages/make/component/task_audit/component/index.vue') //  赚钱管理 ->  任务审核 -> 列表
const MakeManageTaskAuditDetails = () => import('../pages/make/component/task_audit/component/details.vue') //  赚钱管理 ->  任务审核-> 详情

/*  */
const SaveManage = () => import('../pages/save/index.vue') // 省钱管理
const SaveManageCommodity = () => import('../pages/save/component/commodity_management/index.vue') // 省钱管理 -> 商品管理
const SaveManageCommodityList = () => import('../pages/save/component/commodity_management/component/index.vue') // 省钱管理 -> 商品管理 -> 商品列表

const SaveManageBanner = () => import('../pages/save/component/banner_manage/index.vue') // 省钱管理 -> 轮播图管理
const SaveManageBannerList = () => import('../pages/save/component/banner_manage/component/index.vue') // 省钱管理 -> 轮播图管理 -> 列表
const SaveManageBannerListDetails = () => import('../pages/save/component/banner_manage/component/details.vue') // 省钱管理 -> 轮播图管理 -> 列表详情


const SaveManageCommodityClassify = () => import('../pages/save/component/commodity_management/component/classify.vue') // 省钱管理 -> 商品管理 -> 商品分类
const SaveManageCommodityActivity = () => import('../pages/save/component/commodity_management/component/activity.vue') // 省钱管理 -> 商品管理 -> 活动商品精选
const SaveManageCommodityClassifySubclassification = () => import('../pages/save/component/commodity_management/component/subclassification.vue') //  省钱管理 -> 商品管理 -> 商品分类 -> 子分类
const SaveManageCommodityAdd = () => import('../pages/save/component/commodity_management/component/add.vue') // 省钱管理 -> 商品管理 -> 商品新增
const SaveManageCommodityEvaluate = () => import('../pages/save/component/commodity_management/component/evaluate.vue') // 省钱管理 -> 商品管理 -> 商品评价


const SaveManagePlatform = () => import('../pages/save/component/shopping _platform/index.vue') // 省钱管理 -> 购物省钱合作平台

//-------------
const SaveManageOperation = () => import('../pages/save/component/operation_set/index.vue') // 省钱管理 -> 运营设置
const SaveManageOperationFreight = () => import('../pages/save/component/operation_set/component/index.vue') // 省钱管理 -> 运营设置 -> 运费模版
const SaveManageOperationFreightAdd = () => import('../pages/save/component/operation_set/component/add.vue') // 省钱管理 -> 运营设置 -> 运费模版 编辑

/* */
const CourseManage = () => import('../pages/course/index.vue') // 课程管理
const CourseManageClassify = () => import('../pages/course/component/single_page/index.vue') // 课程管理 -> 分类
const CourseManageParticulars = () => import('../pages/course/component/single_page/particulars.vue') // 课程管理 -> 详情
const CourseManageHeadline = () => import('../pages/course/component/single_page/headline.vue') // 课程管理 -> 首页标题

const CourseManageBanner = () => import('../pages/course/component/banner_manage/index.vue') // 课程管理 -> 轮播图管理
const CourseManageBannerList = () => import('../pages/course/component/banner_manage/component/index.vue') // 课程管理 -> 轮播图管理 -> 列表
const CourseManageBannerListDetails = () => import('../pages/course/component/banner_manage/component/details.vue') // 课程管理 -> 轮播图管理 -> 列表详情

const CourseManageTable = () => import('../pages/course/component/list/index.vue') // 课程管理 -> 课程列表
const CourseManageTableList = () => import('../pages/course/component/list/component/index.vue') // 课程管理 -> 课程列表 -> 列表
const CourseManageTableListDetails = () => import('../pages/course/component/list/component/details.vue') // 课程管理 -> 课程列表 -> 列表 - 详情


/* */
const OrderManage = () => import('../pages/order/index.vue') // 订单管理

const OrderManageCurriculum = () => import('../pages/order/component/curriculum/index.vue') // 订单管理 -课程管理
const OrderManageCurriculumCourse = () => import('../pages/order/component/curriculum/component/index.vue') // 订单管理 ->  课程管理 ->课程订单
const OrderManageCurriculumCourseDetails = () => import('../pages/order/component/curriculum/component/details.vue') // 订单管理  -> 课程管理-> 课程订单 -> 详情

//----------
const OrderManageMerchandise = () => import('../pages/order/component/merchandise/index.vue') // 订单管理 -商品管理
const OrderManageMerchandiseThird = () => import('../pages/order/component/merchandise/component/index.vue') // 订单管理 -商品管理 -> 第三方订单 ->

//-----------自营订单管理
const OrderManageMerchandiseSelf = () => import('../pages/order/component/merchandise/component/autotrophy/index.vue') // 订单管理 -商品管理 -> 自营订单管理
const OrderManageMerchandiseSelfSupport = () => import('../pages/order/component/merchandise/component/autotrophy/component/index.vue') // 订单管理 -商品管理 -> 自营订单管理 -> 自营订单
const OrderManageMerchandiseSelfSupportDetails = () => import('../pages/order/component/merchandise/component/autotrophy/component/details.vue') // 订单管理 -商品管理 -> 自营订单管理 -> 查看详情
const OrderManageMerchandiseSelfSupportLogistics = () => import('../pages/order/component/merchandise/component/autotrophy/component/logistics.vue') // 订单管理 -商品管理 -> 自营订单管理 -> 查看详情

//----------退款订单
const OrderManageMerchandiseSelfRetreat = () => import('../pages/order/component/merchandise/component/autotrophy/component/retreat/index.vue') // 订单管理 -商品管理 -> 自营订单管理 -> 退换货管理
const OrderManageMerchandiseSelfRetreatSales = () => import('../pages/order/component/merchandise/component/autotrophy/component/retreat/component/index.vue') // 订单管理 -商品管理 -> 自营订单管理 -> 退换货管理 -> 退换货订单
const OrderManageMerchandiseSelfRetreatSalesDetails = () => import('../pages/order/component/merchandise/component/autotrophy/component/retreat/component/details.vue') // 订单管理 -商品管理 -> 自营订单管理 -> 退换货管理 -> 退换货订单


/* */
const RestManage = () => import('../pages/rest/index.vue') // 其他管理
const RestManageCause = () => import('../pages/rest/component/cause.vue') // 其他管理 - 举报原因
const RestManageAfter = () => import('../pages/rest/component/after.vue') // 其他管理 - 售后原因
const RestManageExpress = () => import('../pages/rest/component/express.vue') // 其他管理 - 快递类型
const RestManageList = () => import('../pages/rest/component/index.vue') // 其他管理 -> 举报列表

const RestManageListDetails = () => import('../pages/rest/component/index-details.vue') // 其他管理 -> 举报列表 -> 其他详情
const RestManageComplaint = () => import('../pages/rest/component/complaint.vue') // 其他管理 -> 投诉反馈
const RestManageComplaintDetails = () => import('../pages/rest/component/complaint-details.vue') // 其他管理 -> 投诉反馈 -> 其他详情

/* 财务管理 */
const FinanceManageFinance = () => import('../pages/finance/index.vue') // 其他管理 - 财务管理
const FinanceManageFinanceWithdraw = () => import('../pages/finance/component/index.vue') // 其他管理 - 财务管理 -> 提现列表
/* */
const MemberManage = () => import('../pages/member/index.vue') // 会员管理
const MemberManageList = () => import('../pages/member/component/index.vue') // 会员管理 -> 会员列表

/* */
const RechargeManage = () => import('../pages/recharge/index.vue') // 充值管理
const RechargeManageAllocation = () => import('../pages/recharge/component/index.vue') // 充值管理 -> 充值金额配置
const RechargeManageRecord = () => import('../pages/recharge/component/record.vue') // 充值管理 -> 充值记录

/* */
const UserManage = () => import('../pages/user/index.vue') // 用户管理
const UserManageList = () => import('../pages/user/component/index.vue') // 用户管理 -> 列表
const UserManageListDetails = () => import('../pages/user/component/details.vue')  // 用户管理 -> 用户详情

/* */
const welfareManage = () => import('../pages/welfare/index.vue') // 福利管理
const welfareManageIntegral = () => import('../pages/welfare/component/single_page/integral.vue') // 福利管理 -> 视频积分配置
const welfareManageSubsidy = () => import('../pages/welfare/component/single_page/subsidy.vue') // 福利管理 -> 饭店补贴
const welfareManageNew = () => import('../pages/welfare/component/single_page/new.vue') // 福利管理 -> 拉新用户排行

const welfareManageDraw = () => import('../pages/welfare/component/draw/index.vue') // 福利管理 -> 抽奖管理
const welfareManageDrawAllocation = () => import('../pages/welfare/component/draw/component/index.vue') // 福利管理 -> 抽奖管理 -> 抽奖配置
const welfareManageDrawRecord = () => import('../pages/welfare/component/draw/component/record.vue') // 福利管理 -> 抽奖管理 -> 抽奖记录

//-----------

const welfareManageReceive = () => import('../pages/welfare/component/receive/index.vue') // 福利管理 -> 领福利
const welfareManageReceiveClassify = () => import('../pages/welfare/component/receive/component/index.vue') // 福利管理 -> 领福利 -> 分类列表
const welfareManageReceiveLabel = () => import('../pages/welfare/component/receive/component/label.vue') // 福利管理 -> 领福利 -> 标签列表
const welfareManageReceiveCommodity = () => import('../pages/welfare/component/receive/component/commodity.vue') // 福利管理 -> 领福利 -> 商品列表
const welfareManageReceiveAdd = () => import('../pages/welfare/component/receive/component/add.vue') // 福利管理 -> 领福利 -> 新增

/* */
const SystemManage = () => import('../pages/system/index.vue') // 系统管理
const SystemManageAllocation = () => import('../pages/system/component/allocation/index.vue')// 系统管理 -> 协议管理

const SystemManageAgreement = () => import('../pages/system/component/agreement')// 系统管理 -> 协议管理
const SystemManageAgreementEdit = () => import('../pages/system/component/agreement/edit.vue')// 系统管理 -> 协议管理 -> 编辑详情
const SystemManageVersions = () => import('../pages/system/component/versions')// 系统管理 -> 版本管理
const SystemManageRole = () => import('../pages/system/component/role/index.vue') // 系统管理 -> 角色管理
const SystemManageRoleRelevance = () => import('../pages/system/component/role/relevance.vue') // 系统管理 -> 角色管理 -> 关联权限
const SystemManageAdministrator = () => import('../pages/system/component/administrator/index.vue') // 系统管理 -> 管理员管理
const SystemManageLog = () => import('../pages/system/component/log')// 系统管理 -> 操作日志


/* 店铺管理 */
const ShopManage = () => import('../pages/shop/index.vue')
const ShopManageList = () => import('../pages/shop/component/index.vue')
const ShopManageEliminateList = () => import('../pages/shop/component/eliminate.vue')
const ShopManageChannel = () => import('../pages/shop/component/channel.vue')
const ShopManageChannelAdd = () => import('../pages/shop/component/add.vue')

/* 盲盒管理 */
const MysteryManage = () => import('../pages/mystery/index.vue')
const MysteryManageList = () => import('../pages/mystery/component/index.vue')
const MysteryManageListAdd = () => import('../pages/mystery/component/add.vue')

/* 推广管理 */
const PromotionManage = () => import('../pages/promotion/index.vue')
const PromotionManageList = () => import('../pages/promotion/component/index.vue')
const PromotionManageListDetails = () => import('../pages/promotion/component/details.vue')

/* 合同管理 */
const ContractManage = () => import('../pages/contract/index.vue')
const ContractManageList = () => import('../pages/contract/component/index.vue')
const ContractManageListDetails = () => import('../pages/contract/component/details.vue')


/* 需要权限判断的路由 */
const dynamicRoutes = [
    //--------用户管理
    {
        path: '/user',
        component: UserManage,
        name: 'user',
        title: '用户管理',
        meta: {
            name: '用户管理',
            icon: 'el-icon-s-home'
        },
        children: [
            {
                path: 'list',
                name: 'user-list',
                component: UserManageList,
                title: '用户列表',
                meta: {
                    name: '用户列表',
                    icon: 'el-icon-s-home'
                },
            },
            {
                path: 'list-fund',
                name: 'user-list-fund',
                title: '用户列表-功能',
                meta: {
                    name: '用户列表-功能',
                    icon: 'el-icon-s-home'
                },
                type: 2
            },
            {
                path: 'list-details',
                name: 'user-list-details',
                component: UserManageListDetails,
                title: '用户列表-详情',
                meta: {
                    name: '用户列表-详情',
                    icon: 'el-icon-s-home'
                },
                type: 1
            },
        ]
    },

    //--------赚钱管理
    {
        path: '/make',
        component: MakeManage,
        name: 'make',
        meta: {
            name: '赚钱管理',
            icon: 'el-icon-s-home'
        },
        title: '赚钱管理',
        children: [
            {
                path: 'banner',
                name: 'make-banner',
                title: '轮播图管理',
                component: MakeManageBanner,
                meta: {
                    name: '轮播图管理',
                    icon: 'el-icon-s-home',
                    first: 'make'
                },
                children: [
                    {
                        path: 'banner-list',
                        name: 'make-banner-list',
                        component: MakeManageBannerList,
                        title: '轮播图列表',
                        meta: {
                            name: '轮播图列表',
                            icon: 'el-icon-s-home',
                        }
                    },
                    {
                        path: 'banner-list',
                        name: 'make-banner-list-fund',
                        title: '轮播图列表-功能',
                        meta: {
                            name: '轮播图列表-功能',
                            icon: 'el-icon-s-home',
                        },
                        type: 2
                    },
                    {
                        path: 'banner-list-details',
                        name: 'make-banner-list-details',
                        component: MakeManageBannerListDetails,
                        title: '轮播图列表-详情',
                        meta: {
                            name: '轮播图列表-详情',
                            icon: 'el-icon-s-home',
                            first: 'make',
                            second: 'make-banner'
                        },
                        type: 1
                    },
                ]
            },
            {
                path: 'task-classify',
                name: 'make-task-classify',
                component: MakeManageTaskClassify,
                title: '任务分类管理',
                meta: {
                    name: '任务分类管理',
                    icon: 'el-icon-s-home'
                },
                children: [
                    {
                        path: 'task-classify-list',
                        name: 'make-task-classify-list',
                        component: MakeManageTaskClassifyList,
                        title: '分类列表',
                        meta: {
                            name: '分类列表',
                            icon: 'el-icon-s-home'
                        }
                    },
                    {
                        path: 'task-classify-list-fund',
                        name: 'make-task-classify-list-fund',
                        title: '分类列表-功能',
                        meta: {
                            name: '分类列表-功能',
                            icon: 'el-icon-s-home'
                        },
                        type: 2
                    },
                    {
                        path: 'task-classify-list-subclassification',
                        name: 'make-task-classify-list-subclassification',
                        component: MakeManageTaskClassifyListSubclassification,
                        title: '分类列表-子分类',
                        meta: {
                            name: '任务分类-子分类',
                            icon: 'el-icon-s-home'
                        },
                        type: 1
                    },
                ]
            },
            {
                path: 'cooperation-type',
                name: 'make-cooperation-type',
                component: MakeManageCooperationType,
                title: '合作类型',
                meta: {
                    name: '合作类型',
                    icon: 'el-icon-s-home'
                },
                children: [
                    {
                        path: 'cooperation-type-list',
                        name: 'make-cooperation-type-list',
                        component: MakeManageCooperationTypeStair,
                        title: '一级分类',
                        meta: {
                            name: '一级分类',
                            icon: 'el-icon-s-home'
                        }
                    },
                    {
                        path: 'cooperation-type-list-fund',
                        name: 'make-cooperation-type-list-fund',
                        title: '一级分类-功能',
                        meta: {
                            name: '一级分类-功能',
                            icon: 'el-icon-s-home'
                        },
                        type: 2
                    },
                    {
                        path: 'cooperation-type-list-subclassification',
                        name: 'make-cooperation-type-list-subclassification',
                        component: MakeManageCooperationTypeSubclassification,
                        title: '二级分类',
                        meta: {
                            name: '二级分类',
                            icon: 'el-icon-s-home'
                        },
                        type: 1
                    },
                ]
            },
            {
                path: 'task-list',
                name: 'make-task-list',
                component: MakeManageTaskList,
                title: '任务管理',
                meta: {
                    name: '任务管理',
                    icon: 'el-icon-s-home'
                },
                children: [
                    {
                        path: 'task-list-surface',
                        name: 'make-task-list-surface',
                        component: MakeManageTaskListSurface,
                        title: '任务列表',
                        meta: {
                            name: '任务列表',
                            icon: 'el-icon-s-home'
                        },
                    },
                    {
                        path: 'task-list-surface-fund',
                        name: 'make-task-list-surface-fund',
                        title: '任务列表-功能',
                        meta: {
                            name: '任务列表-功能',
                            icon: 'el-icon-s-home'
                        },
                        type: 2
                    },
                    {
                        path: 'task-list-surface-details',
                        name: 'make-task-list-surface-details',
                        component: MakeManageTaskListSurfaceDetails,
                        title: '任务列表-查看详情',
                        meta: {
                            name: '任务列表-查看详情',
                            icon: 'el-icon-s-home'
                        },
                        type: 1
                    },

                    {
                        path: 'task-list-surface-add',
                        name: 'make-task-list-surface-add',
                        component: MakeManageTaskListSurfaceAdd,
                        title: '新增任务',
                        meta: {
                            name: '新增任务',
                            icon: 'el-icon-s-home'
                        },
                        type: 1
                    },

                    // {
                    //     path: '',
                    //     name: '',
                    //     component: ,
                    //     title: '',
                    //     meta: {
                    //         name: '',
                    //         icon: 'el-icon-s-home'
                    //     },
                    //     type: 1
                    // },
                ]
            },
            {
                path: 'task-aduit',
                name: 'make-task-aduit',
                component: MakeManageTaskAudit,
                title: '任务审核',
                meta: {
                    name: '任务审核',
                    icon: 'el-icon-s-home'
                },
                children: [
                    {
                        path: 'task-aduit-list',
                        name: 'make-task-aduit-list',
                        component: MakeManageTaskAuditList,
                        title: '审核列表',
                        meta: {
                            name: '审核列表',
                            icon: 'el-icon-s-home'
                        },
                    },
                    {
                        path: 'task-aduit-list-fund',
                        name: 'make-task-aduit-list-fund',
                        title: '审核列表-功能',
                        meta: {
                            name: '审核列表-功能',
                            icon: 'el-icon-s-home'
                        },
                        type: 2
                    },
                    {
                        path: 'task-aduit-list-details',
                        name: 'make-task-aduit-list-details',
                        component: MakeManageTaskAuditDetails,
                        title: '审核列表详情',
                        meta: {
                            name: '审核列表详情',
                            icon: 'el-icon-s-home'
                        },
                        type: 1
                    },
                ]
            },
        ]
    },
    //--------省钱管理
    {
        path: '/save',
        component: SaveManage,
        name: 'save',
        title: '省钱管理',
        meta: {
            name: '省钱管理',
            icon: 'el-icon-s-home'
        },
        children: [
            {
                path: 'platform',
                name: 'save-platform',
                component: SaveManagePlatform,
                title: '购物省钱合作平台',
                meta: {
                    name: '购物省钱合作平台',
                    icon: 'el-icon-s-home'
                },
            },
            {
                path: 'platform-fund',
                name: 'save-platform-fund',
                title: '购物省钱合作平台-功能',
                meta: {
                    name: '购物省钱合作平台-功能',
                    icon: 'el-icon-s-home'
                },
                type: 2
            },
            {
                path: 'banner',
                name: 'save-banner',
                component: CourseManageBanner,
                title: '轮播图管理',
                meta: {
                    name: '轮播图管理',
                    icon: 'el-icon-s-home'
                },
                children: [
                    {
                        path: 'banner-list',
                        name: 'save-banner-list',
                        component: SaveManageBannerList,
                        title: '轮播图列表',
                        meta: {
                            name: '轮播图列表',
                            icon: 'el-icon-s-home'
                        },

                    },
                    {
                        path: 'banner-list-fund',
                        name: 'save-banner-list-fund',
                        title: '配置列表-功能',
                        meta: {
                            name: '配置列表-功能',
                            icon: 'el-icon-s-home'
                        },
                        type: 2

                    },
                    {
                        path: 'banner-list-details',
                        name: 'save-banner-list-details',
                        component: SaveManageBannerListDetails,
                        title: '配置列表-详情',
                        meta: {
                            name: '配置列表-详情',
                            icon: 'el-icon-s-home'
                        },
                        type: 1
                    },
                ]
            },
            {
                path: 'commodity',
                name: 'save-commodity',
                component: SaveManageCommodity,
                title: '商品管理',
                meta: {
                    name: '商品管理',
                    icon: 'el-icon-s-home'
                },
                children: [
                    {
                        path: 'commodity-activity',
                        name: 'save-commodity-activity',
                        component: SaveManageCommodityActivity,
                        title: '活动商品精选',
                        meta: {
                            name: '活动商品精选',
                            icon: 'el-icon-s-home'
                        },
                    },
                    {
                        path: 'commodity-activity-fund',
                        name: 'save-commodity-activity-fund',
                        title: '活动商品精选-功能',
                        meta: {
                            name: '活动商品精选-功能',
                            icon: 'el-icon-s-home'
                        },
                        type: 2
                    },
                    //------
                    {
                        path: 'commodity-classify',
                        name: 'save-commodity-classify',
                        component: SaveManageCommodityClassify,
                        title: '商品分类',
                        meta: {
                            name: '商品分类',
                            icon: 'el-icon-s-home'
                        },

                    },
                    {
                        path: 'commodity-classify-fund',
                        name: 'save-commodity-classify-fund',
                        title: '商品分类-功能',
                        meta: {
                            name: '商品分类-功能',
                            icon: 'el-icon-s-home'
                        },
                        type: 2
                    },
                    {
                        path: 'classify-subclassification',
                        name: 'save-commodity-classify-subclassification',
                        component: SaveManageCommodityClassifySubclassification,
                        title: '商品分类-子分类',
                        meta: {
                            name: '商品分类-子分类',
                            icon: 'el-icon-s-home'
                        },
                        type: 1
                    },

                    //--------------
                    {
                        path: 'commodity-list',
                        name: 'save-commodity-list',
                        component: SaveManageCommodityList,
                        title: '商品列表',
                        meta: {
                            name: '商品列表',
                            icon: 'el-icon-s-home'
                        },

                    },
                    {
                        path: 'commodity-list-fund',
                        name: 'save-commodity-list-fund',
                        title: '商品列表-功能',
                        meta: {
                            name: '商品列表-功能',
                            icon: 'el-icon-s-home'
                        },
                        type: 2
                    },
                    {
                        path: 'commodity-list-add',
                        name: 'save-commodity-list-add',
                        component: SaveManageCommodityAdd,
                        title: '商品新增',
                        meta: {
                            name: '商品新增',
                            icon: 'el-icon-s-home'
                        },
                        type: 1
                    },

                    {
                        path: 'commodity-list-evaluate',
                        name: 'save-commodity-list-evaluate',
                        component: SaveManageCommodityEvaluate,
                        title: '商品评价',
                        meta: {
                            name: '商品评价',
                            icon: 'el-icon-s-home'
                        },
                        type: 1
                    },
                ]
            },
            {
                path: 'operation',
                name: 'save-operation',
                component: SaveManageOperation,
                title: '运营设置',
                meta: {
                    name: '运营设置',
                    icon: 'el-icon-s-home'
                },
                children: [
                    {
                        path: 'operation-freight',
                        name: 'save-operation-freight',
                        component: SaveManageOperationFreight,
                        title: '运费模板列表',
                        meta: {
                            name: '运费模板列表',
                            icon: 'el-icon-s-home'
                        },
                    },
                    {
                        path: 'operation-freight-fund',
                        name: 'save-operation-freight-fund',
                        title: '运费模板列表-功能',
                        meta: {
                            name: '运费模板列表-功能',
                            icon: 'el-icon-s-home'
                        },
                        type: 2
                    },

                    {
                        path: 'operation-freight-add',
                        name: 'save-operation-freight-add',
                        component: SaveManageOperationFreightAdd,
                        title: '运费模板列表-详情',
                        meta: {
                            name: '运费模板列表-详情',
                            icon: 'el-icon-s-home'
                        },
                        type: 1
                    },
                ]
            },

        ]
    },

    //--------课程管理
    {
        path: '/course',
        component: CourseManage,
        name: 'course',
        title: '课程管理',
        meta: {
            name: '课程管理',
            icon: 'el-icon-s-home'
        },
        children: [
            {
                path: 'banner',
                name: 'course-banner',
                component: CourseManageBanner,
                title: '轮播图管理',
                meta: {
                    name: '轮播图管理',
                    icon: 'el-icon-s-home'
                },
                children: [
                    {
                        path: 'banner-list',
                        name: 'course-banner-list',
                        component: CourseManageBannerList,
                        title: '轮播图列表',
                        meta: {
                            name: '轮播图列表',
                            icon: 'el-icon-s-home'
                        },

                    },
                    {
                        path: 'banner-list-fund',
                        name: 'course-banner-list-fund',
                        title: '轮播图列表-功能',
                        meta: {
                            name: '轮播图列表-功能',
                            icon: 'el-icon-s-home'
                        },
                        type: 2
                    },
                    {
                        path: 'banner-list-details',
                        name: 'course-banner-list-details',
                        component: CourseManageBannerListDetails,
                        title: '轮播图列表-详情',
                        meta: {
                            name: '轮播图列表-详情',
                            icon: 'el-icon-s-home'
                        },
                        type: 1
                    },
                ]
            },
            //--------
            {
                path: 'classify',
                name: 'course-classify',
                component: CourseManageClassify,
                title: '课程分类',
                meta: {
                    name: '课程分类',
                    icon: 'el-icon-s-home'
                },
            },
            {
                path: 'classify-fund',
                name: 'course-classify-fund',
                title: '课程分类-功能',
                meta: {
                    name: '课程分类-功能',
                    icon: 'el-icon-s-home'
                },
                type: 2
            },
            //---------
            {
                path: 'particulars',
                name: 'course-particulars',
                component: CourseManageParticulars,
                title: '详情提示',
                meta: {
                    name: '详情提示',
                    icon: 'el-icon-s-home'
                },
            },
            {
                path: 'particulars-fund',
                name: 'course-particulars-fund',
                title: '详情提示-功能',
                meta: {
                    name: '详情提示-功能',
                    icon: 'el-icon-s-home'
                },
                type: 2
            },
            //----------
            {
                path: 'headline',
                name: 'course-headline',
                component: CourseManageHeadline,
                title: '首页标题',
                meta: {
                    name: '首页标题',
                    icon: 'el-icon-s-home'
                },
            },
            {
                path: 'headline-fund',
                name: 'course-headline-fund',
                title: '首页标题-功能',
                meta: {
                    name: '首页标题-功能',
                    icon: 'el-icon-s-home'
                },
                type: 2
            },
            //--------
            {
                path: 'table',
                name: 'course-table',
                component: CourseManageTable,
                title: '课程管理',
                meta: {
                    name: '课程管理',
                    icon: 'el-icon-s-home'
                },
                children: [
                    {
                        path: 'list',
                        name: 'course-table-list',
                        component: CourseManageTableList,
                        title: '课程列表',
                        meta: {
                            name: '课程列表',
                            icon: 'el-icon-s-home'
                        },
                    },
                    {
                        path: 'list-fund',
                        name: 'course-table-list-fund',
                        title: '课程列表-功能',
                        meta: {
                            name: '课程列表-功能',
                            icon: 'el-icon-s-home'
                        },
                        type: 2
                    },
                    {
                        path: 'list-details',
                        name: 'course-table-list-details',
                        component: CourseManageTableListDetails,
                        title: '课程列表-查看详情',
                        meta: {
                            name: '课程列表-查看详情',
                            icon: 'el-icon-s-home'
                        },
                        type: 1
                    },


                    // 
                ]
            }
        ]
    },

    //--------福利管理
    {
        path: '/welfare',
        component: welfareManage,
        name: 'welfare',
        title: '福利管理',
        meta: {
            name: '福利管理',
            icon: 'el-icon-s-home'
        },
        children: [

            {
                path: 'integral',
                name: 'welfare-integral',
                component: welfareManageIntegral,
                title: '视频积分配置',
                meta: {
                    name: '视频积分配置',
                    icon: 'el-icon-s-home'
                },
            },
            {
                path: 'integral-fund',
                name: 'welfare-integral-fund',
                title: '视频积分配置-功能',
                meta: {
                    name: '视频积分配置-功能',
                    icon: 'el-icon-s-home'
                },
                type: 2
            },
            //------------
            {
                path: 'subsidy',
                name: 'welfare-subsidy',
                component: welfareManageSubsidy,
                title: '饭点领取补贴',
                meta: {
                    name: '饭点领取补贴',
                    icon: 'el-icon-s-home'
                },
            },
            {
                path: 'subsidy-fund',
                name: 'welfare-subsidy-fund',
                title: '饭点领取补贴-功能',
                meta: {
                    name: '饭点领取补贴-功能',
                    icon: 'el-icon-s-home'
                },
                type: 2
            },
            //------------
            {
                path: 'new',
                name: 'welfare-new',
                component: welfareManageNew,
                title: '拉新用户排行',
                meta: {
                    name: '拉新用户排行',
                    icon: 'el-icon-s-home'
                },
            },
            {
                path: 'new-fund',
                name: 'welfare-new-fund',
                title: '拉新用户排行-功能',
                meta: {
                    name: '拉新用户排行-功能',
                    icon: 'el-icon-s-home'
                },
                type: 2
            },
            //------------

            {
                path: 'draw',
                name: 'welfare-draw',
                component: welfareManageDraw,
                title: '抽奖管理',
                meta: {
                    name: '抽奖管理',
                    icon: 'el-icon-s-home'
                },
                children: [
                    {
                        path: 'draw-allocation',
                        name: 'welfare-draw-allocation',
                        component: welfareManageDrawAllocation,
                        title: '抽奖配置',
                        meta: {
                            name: '抽奖配置',
                            icon: 'el-icon-s-home'
                        },
                    },
                    {
                        path: 'draw-allocation-fund',
                        name: 'welfare-draw-allocation-fund',
                        title: '抽奖配置-功能',
                        meta: {
                            name: '抽奖配置-功能',
                            icon: 'el-icon-s-home'
                        },
                        type: 2
                    },
                    //----------
                    {
                        path: 'draw-record',
                        name: 'welfare-draw-record',
                        component: welfareManageDrawRecord,
                        title: '抽奖记录',
                        meta: {
                            name: '抽奖记录',
                            icon: 'el-icon-s-home'
                        },
                    },
                    {
                        path: 'draw-record-fund',
                        name: 'welfare-draw-record-fund',
                        title: '抽奖记录-功能',
                        meta: {
                            name: '抽奖记录-功能',
                            icon: 'el-icon-s-home'
                        },
                        type: 2
                    }
                ]
            },
            {
                path: 'receive',
                name: 'welfare-receive',
                component: welfareManageReceive,
                title: '领福利',
                meta: {
                    name: '领福利',
                    icon: 'el-icon-s-home'
                },
                children: [
                    {
                        path: 'receive-classify',
                        name: 'welfare-receive-classify',
                        component: welfareManageReceiveClassify,
                        title: '分类列表',
                        meta: {
                            name: '分类列表',
                            icon: 'el-icon-s-home'
                        },
                    },
                    {
                        path: 'receive-classify-fund',
                        name: 'welfare-receive-classify-fund',
                        title: '分类列表-功能',
                        meta: {
                            name: '分类列表-功能',
                            icon: 'el-icon-s-home'
                        },
                        type: 2
                    },

                    //------
                    {
                        path: 'receive-label',
                        name: 'welfare-receive-label',
                        component: welfareManageReceiveLabel,
                        title: '标签列表',
                        meta: {
                            name: '标签列表',
                            icon: 'el-icon-s-home'
                        },
                    },
                    {
                        path: 'receive-label-fund',
                        name: 'welfare-receive-label-fund',
                        title: '标签列表-功能',
                        meta: {
                            name: '标签列表-功能',
                            icon: 'el-icon-s-home'
                        },
                        type: 2
                    },

                    //---------
                    {
                        path: 'receive-commodity',
                        name: 'welfare-receive-commodity',
                        component: welfareManageReceiveCommodity,
                        title: '商品列表',
                        meta: {
                            name: '商品列表',
                            icon: 'el-icon-s-home'
                        },
                    },
                    {
                        path: 'receive-commodity-fund',
                        name: 'welfare-receive-commodity-fund',
                        title: '商品列表-功能',
                        meta: {
                            name: '商品列表-功能',
                            icon: 'el-icon-s-home'
                        },

                        type: 2
                    },
                    //--------
                    {
                        path: 'receive-commodity-add',
                        name: 'welfare-receive-commodity-add',
                        component: welfareManageReceiveAdd,
                        title: '新增商品',
                        meta: {
                            name: '新增商品',
                            icon: 'el-icon-s-home'
                        },
                        type: 1
                    },

                    // 
                ]
            },

            // 
        ]
        // 
    },
    //--------会员中心
    {
        path: '/member',
        component: MemberManage,
        name: 'member',
        title: '会员管理',
        meta: {
            name: '会员管理',
            icon: 'el-icon-s-home'
        },
        children: [
            {
                path: 'list',
                name: 'member-list',
                component: MemberManageList,
                title: '会员中心',
                meta: {
                    name: '会员中心',
                    icon: 'el-icon-s-home'
                },
            },
            {
                path: 'list-fund',
                name: 'member-list-fund',
                title: '会员中心-功能',
                meta: {
                    name: '会员中心-功能',
                    icon: 'el-icon-s-home'
                },
                type: 2
            },
        ]
    },
    //--------充值管理
    {
        path: '/recharge',
        component: RechargeManage,
        name: 'recharge',
        title: '充值管理',
        meta: {
            name: '充值管理',
            icon: 'el-icon-s-home'
        },
        children: [
            // {
            //     path: 'allocation',
            //     name: 'recharge-allocation',
            //     component: RechargeManageAllocation,
            //     title: '充值配置金额',
            //     meta: {
            //         name: '充值配置金额',
            //         icon: 'el-icon-s-home'
            //     },
            // },
            // {
            //     path: 'allocation-fund',
            //     name: 'recharge-allocation-fund',
            //     title: '充值配置金额-功能',
            //     meta: {
            //         name: '充值配置金额-功能',
            //         icon: 'el-icon-s-home'
            //     },
            //     type: 2
            // },
            //----------
            {
                path: 'record',
                name: 'recharge-record',
                component: RechargeManageRecord,
                title: '充值记录',
                meta: {
                    name: '充值记录',
                    icon: 'el-icon-s-home'
                },
            },
            {
                path: 'record-fund',
                name: 'recharge-record-fund',
                title: '充值记录-功能',
                meta: {
                    name: '充值记录-功能',
                    icon: 'el-icon-s-home'
                },
                type: 2
            },
        ]
    },

    //--------订单管理
    {
        path: '/order',
        component: OrderManage,
        name: 'order',
        title: '订单管理',
        meta: {
            name: '订单管理',
            icon: 'el-icon-s-home'
        },
        children: [
            {
                path: 'merchandise',
                name: 'order-merchandise',
                component: OrderManageMerchandise,
                title: '商品订单管理',
                meta: {
                    name: '商品订单管理',
                    icon: 'el-icon-s-home'
                },
                children: [
                    {
                        path: 'merchandise-list',
                        name: 'order-merchandise-list',
                        component: OrderManageMerchandiseThird,
                        title: '第三方订单',
                        meta: {
                            name: '第三方订单',
                            icon: 'el-icon-s-home'
                        },
                    },
                    {
                        path: 'merchandise-self',
                        name: 'order-merchandise-self',
                        component: OrderManageMerchandiseSelf,
                        title: '自营订单管理',
                        meta: {
                            name: '自营订单管理',
                            icon: 'el-icon-s-home'
                        },
                        children: [
                            {
                                path: 'merchandise-self-support',
                                name: 'order-merchandise-self-support',
                                component: OrderManageMerchandiseSelfSupport,
                                title: '自营订单',
                                meta: {
                                    name: '自营订单',
                                    icon: 'el-icon-s-home'
                                },
                            },
                            {
                                path: 'merchandise-self-support-fund',
                                name: 'order-merchandise-self-support-fund',
                                title: '自营订单-功能',
                                meta: {
                                    name: '自营订单-功能',
                                    icon: 'el-icon-s-home'
                                },
                                type: 2
                            },
                            //------
                            {
                                path: 'merchandise-self-support-details',
                                name: 'order-merchandise-self-support-details',
                                component: OrderManageMerchandiseSelfSupportDetails,
                                title: '查看详情',
                                meta: {
                                    name: '自营订单-查看详情',
                                    icon: 'el-icon-s-home'
                                },
                                type: 1
                            },
                            {
                                path: 'merchandise-self-support-logistics',
                                name: 'order-merchandise-self-support-logistics',
                                component: OrderManageMerchandiseSelfSupportLogistics,
                                title: '查看详情',
                                meta: {
                                    name: '自营订单-查看物流',
                                    icon: 'el-icon-s-home'
                                },
                                type: 1
                            },

                            {
                                path: 'merchandise-self-retreat',
                                name: 'order-merchandise-self-retreat',
                                component: OrderManageMerchandiseSelfRetreat,
                                title: '退换货管理',
                                meta: {
                                    name: '退换货管理',
                                    icon: 'el-icon-s-home'
                                },
                                children: [
                                    {
                                        path: 'merchandise-self-retreat-sales',
                                        name: 'order-merchandise-self-retreat-sales',
                                        component: OrderManageMerchandiseSelfRetreatSales,
                                        title: '退换货订单',
                                        meta: {
                                            name: '退换货订单',
                                            icon: 'el-icon-s-home'
                                        },
                                    },
                                    {
                                        path: 'merchandise-self-retreat-sales-fund',
                                        name: 'order-merchandise-self-retreat-sales-fund',
                                        title: '退换货订单-功能',
                                        meta: {
                                            name: '退换货订单-功能',
                                            icon: 'el-icon-s-home'
                                        },
                                        type: 2
                                    },
                                    //-----
                                    {
                                        path: 'merchandise-self-retreat-sales-details',
                                        name: 'order-merchandise-self-retreat-sales-details',
                                        component: OrderManageMerchandiseSelfRetreatSalesDetails,
                                        title: '退换货订单',
                                        meta: {
                                            name: '退换货订单-查看详情',
                                            icon: 'el-icon-s-home'
                                        },
                                        type: 1
                                    },
                                ]
                            },
                        ]
                    },
                ]
            },
            {
                path: 'course',
                name: 'order-course',
                component: OrderManageCurriculum,
                title: '课程订单管理',
                meta: {
                    name: '课程订单管理',
                    icon: 'el-icon-s-home'
                },
                children: [
                    {
                        path: 'course-list',
                        name: 'order-course-list',
                        component: OrderManageCurriculumCourse,
                        title: '课程订单',
                        meta: {
                            name: '课程订单',
                            icon: 'el-icon-s-home'
                        },
                    },
                    {
                        path: 'course-list-fund',
                        name: 'order-course-list-fund',
                        title: '课程订单-功能',
                        meta: {
                            name: '课程订单-功能',
                            icon: 'el-icon-s-home'
                        },
                        type: 2
                    },
                    {
                        path: 'course-list-details',
                        name: 'order-course-list-details',
                        component: OrderManageCurriculumCourseDetails,
                        title: '课程订单-订单详情',
                        meta: {
                            name: '课程订单-订单详情',
                            icon: 'el-icon-s-home'
                        },
                        type: 1
                    },
                ]
            },
        ]
    },
    //--------其他管理
    {
        path: '/rest',
        component: RestManage,
        name: 'rest',
        title: '其他管理',
        meta: {
            name: '其他管理',
            icon: 'el-icon-s-home'
        },
        children: [
            {
                path: 'cause',
                name: 'rest-cause',
                component: RestManageCause,
                title: '举报原因',
                meta: {
                    name: '举报原因',
                    icon: 'el-icon-s-home'
                },
            },
            {
                path: 'cause-fund',
                name: 'rest-cause-fund',
                title: '举报原因-功能',
                meta: {
                    name: '举报原因-功能',
                    icon: 'el-icon-s-home'
                },
                type: 2
            },
            //-----------
            {
                path: 'after',
                name: 'rest-after',
                component: RestManageAfter,
                title: '售后原因',
                meta: {
                    name: '售后原因',
                    icon: 'el-icon-s-home'
                },
            },
            {
                path: 'after-fund',
                name: 'rest-after-fund',
                title: '售后原因-功能',
                meta: {
                    name: '售后原因-功能',
                    icon: 'el-icon-s-home'
                },
                type: 2
            },
            //-----------
            {
                path: 'express',
                name: 'rest-express',
                component: RestManageExpress,
                title: '快递类型',
                meta: {
                    name: '快递类型',
                    icon: 'el-icon-s-home'
                },
            },
            {
                path: 'express-fund',
                name: 'rest-express-fund',
                title: '快递类型-功能',
                meta: {
                    name: '快递类型-功能',
                    icon: 'el-icon-s-home'
                },
                type: 2
            },

            //-----------
            {
                path: 'list',
                name: 'rest-list',
                component: RestManageList,
                title: '举报列表',
                meta: {
                    name: '举报列表',
                    icon: 'el-icon-s-home'
                },
            },
            {
                path: 'list-fund',
                name: 'rest-list-fund',
                title: '举报列表-功能',
                meta: {
                    name: '举报列表-功能',
                    icon: 'el-icon-s-home'
                },
                type: 2
            },
            {
                path: 'list-details',
                name: 'rest-list-details',
                component: RestManageListDetails,
                title: '举报列表-查看详情',
                meta: {
                    name: '举报列表-查看详情',
                    icon: 'el-icon-s-home'
                },
                type: 1
            },
            //---------
            {
                path: 'complaint',
                name: 'rest-complaint',
                component: RestManageComplaint,
                title: '投诉反馈',
                meta: {
                    name: '投诉反馈',
                    icon: 'el-icon-s-home'
                },
            },
            {
                path: 'complaint-fund',
                name: 'rest-complaint-fund',
                title: '投诉反馈-功能',
                meta: {
                    name: '投诉反馈-功能',
                    icon: 'el-icon-s-home'
                },
                type: 2
            },
            {
                path: 'complaint-details',
                name: 'rest-complaint-details',
                component: RestManageComplaintDetails,
                title: '投诉反馈-查看详情',
                meta: {
                    name: '投诉反馈-查看详情',
                    icon: 'el-icon-s-home'
                },
                type: 1
            },



        ]
    },
    //--------财务管理
    {
        path: '/finance',
        component: FinanceManageFinance,
        name: 'finance',
        title: '财务管理',
        meta: {
            name: '财务管理',
            icon: 'el-icon-s-home'
        },
        children: [
            {
                path: 'withdraw',
                name: 'finance-withdraw',
                component: FinanceManageFinanceWithdraw,
                title: '提现列表',
                meta: {
                    name: '提现列表',
                    icon: 'el-icon-s-home'
                },
            },
            {
                path: 'withdraw-fund',
                name: 'finance-withdraw-fund',
                title: '提现列表-功能',
                meta: {
                    name: '提现列表-功能',
                    icon: 'el-icon-s-home'
                },
                type: 2
            },
        ]
    },
    //--------店铺管理
    {
        path: '/shop',
        component: ShopManage,
        name: 'shop',
        title: '店铺管理',
        meta: {
            name: '店铺管理',
            icon: 'el-icon-s-home'
        },
        children: [
            {
                path: 'list',
                name: 'shop-list',
                component: ShopManageList,
                title: '店铺列表',
                meta: {
                    name: '店铺列表',
                    icon: 'el-icon-s-home'
                },
            },
            {
                path: 'list-fund',
                name: 'shop-list-fund',
                title: '店铺列表-功能',
                meta: {
                    name: '店铺列表-功能',
                    icon: 'el-icon-s-home'
                },
                type: 2
            },

              {
                path: 'eliminate',
                name: 'shop-eliminate',
                component: ShopManageEliminateList,
                title: '店铺淘汰列表',
                meta: {
                    name: '店铺淘汰列表',
                    icon: 'el-icon-s-home'
                },
            },
            {
                path: 'eliminate-fund',
                name: 'shop-eliminate-fund',
                title: '店铺淘汰列表-功能',
                meta: {
                    name: '店铺淘汰列表-功能',
                    icon: 'el-icon-s-home'
                },
                type: 2
            },


            
            {
                path: 'channel',
                name: 'shop-channel',
                component: ShopManageChannel,
                title: '渠道商品审核',
                meta: {
                    name: '渠道商品审核',
                    icon: 'el-icon-s-home'
                },
            },
            {
                path: 'channel-fund',
                name: 'shop-channel-fund',
                title: '渠道商品审核-功能',
                meta: {
                    name: '渠道商品审核-功能',
                    icon: 'el-icon-s-home'
                },
                type: 2
            },

            {
                path: 'add',
                name: 'shop-add',
                title: '渠道商品审核-新增',
                component: ShopManageChannelAdd,
                meta: {
                    name: '渠道商品审核-新增',
                    icon: 'el-icon-s-home'
                },
                type: 1
            },

            // 
        ]
    },
    //--------盲盒管理
    {
        path: '/mystery',
        component: MysteryManage,
        name: 'mystery',
        title: '盲盒管理',
        meta: {
            name: '盲盒管理',
            icon: 'el-icon-s-home'
        },
        children: [
            {
                path: 'list',
                name: 'mystery-list',
                component: MysteryManageList,
                title: '盲盒列表',
                meta: {
                    name: '盲盒列表',
                    icon: 'el-icon-s-home'
                },
            },
            {
                path: 'list-fund',
                name: 'mystery-list-fund',
                title: '盲盒列表-功能',
                meta: {
                    name: '盲盒列表-功能',
                    icon: 'el-icon-s-home'
                },
                type: 2
            },

            {
                path: 'add',
                name: 'mystery-add',
                title: '盲盒商品-新增',
                component: MysteryManageListAdd,
                meta: {
                    name: '盲盒商品-新增',
                    icon: 'el-icon-s-home'
                },
                type: 1
            },
        ]
    },
    //--------合同管理
    {
        path: '/contract',
        component: ContractManage,
        name: 'contract',
        title: '合同管理',
        meta: {
            name: '合同管理',
            icon: 'el-icon-s-home'
        },
        children: [
            {
                path: 'list',
                name: 'contract-list',
                component: ContractManageList,
                title: '合同列表',
                meta: {
                    name: '合同列表',
                    icon: 'el-icon-s-home'
                },
            },
            {
                path: 'list-details',
                name: 'contract-list-details',
                component: ContractManageListDetails,
                title: '合同列表-详情',
                meta: {
                    name: '合同列表-详情',
                    icon: 'el-icon-s-home'
                },
                type: 1
            },
            {
                path: 'list-fund',
                name: 'contract-list-fund',
                title: '合同列表-功能',
                meta: {
                    name: '合同列表-功能',
                    icon: 'el-icon-s-home'
                },
                type: 2
            },
        ]
    },
    //--------推广管理
    {
        path: '/promotion',
        component: PromotionManage,
        name: 'promotion',
        title: '推广管理',
        meta: {
            name: '推广管理',
            icon: 'el-icon-s-home'
        },
        children: [
            {
                path: 'list',
                name: 'promotion-list',
                component: PromotionManageList,
                title: '推广列表',
                meta: {
                    name: '推广列表',
                    icon: 'el-icon-s-home'
                },
            },
            {
                path: 'list-details',
                name: 'promotion-list-details',
                component: PromotionManageListDetails,
                title: '推广列表-详情',
                meta: {
                    name: '推广列表-详情',
                    icon: 'el-icon-s-home'
                },
                type: 1
            },
            {
                path: 'list-fund',
                name: 'promotion-list-fund',
                title: '推广列表-功能',
                meta: {
                    name: '推广列表-功能',
                    icon: 'el-icon-s-home'
                },
                type: 2
            },
        ]
    },
    //--------系统管理
    {
        path: '/system',
        component: SystemManage,
        name: 'system',
        title: '系统管理',
        meta: {
            name: '系统管理',
            icon: 'el-icon-s-home'
        },
        children: [
            {
                path: 'allocation',
                name: 'system-allocation',
                component: SystemManageAllocation,
                title: '系统配置',
                meta: {
                    name: '系统配置',
                    icon: 'el-icon-s-home'
                },
            },
            {
                path: 'agreement',
                name: 'system-agreement',
                component: SystemManageAgreement,
                title: '协议管理',
                meta: {
                    name: '协议管理',
                    icon: 'el-icon-s-home'
                },
            },
            {
                path: 'agreement-edit',
                name: 'system-agreement-edit',
                component: SystemManageAgreementEdit,
                title: '协议管理-编辑',
                meta: {
                    name: '协议管理-编辑',
                    icon: 'el-icon-s-home'
                },
                type: 1
            },
            //-------------
            {
                path: 'versions',
                name: 'system-versions',
                component: SystemManageVersions,
                title: '版本管理',
                meta: {
                    name: '版本管理',
                    icon: 'el-icon-s-home'
                }
            },
            {
                path: 'role',
                name: 'system-role',
                component: SystemManageRole,
                title: '角色管理',
                meta: {
                    name: '角色管理',
                    icon: 'el-icon-s-home'
                }
            },

            {
                path: 'role-relevance',
                name: 'system-role-relevance',
                component: SystemManageRoleRelevance,
                title: '角色管理-关联权限',
                meta: {
                    name: '角色管理-关联权限',
                    icon: 'el-icon-s-home'
                },
                type: 1
            },
            {
                path: 'administrator',
                name: 'system-administrator',
                component: SystemManageAdministrator,
                title: '管理员列表',
                meta: {
                    name: '管理员列表',
                    icon: 'el-icon-s-home'
                }
            },
            {
                path: 'log',
                name: 'system-log',
                component: SystemManageLog,
                title: '操作日志',
                meta: {
                    name: '操作日志',
                    icon: 'el-icon-s-home'
                }
            },
        ]
    },
]

export default dynamicRoutes
